package com.rtx.edi.model.application.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.rtx.edi.model.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 应用信息表 
 * </p>
 *
 * @author abc
 * @since 2023-03-06
 */
@TableName("pl_application")
@ApiModel(value = "PlApplication对象", description = "应用信息表 ")
public class PlApplication extends BaseEntity {

    @ApiModelProperty("公司id")
    private Long companyId;

    @ApiModelProperty("应用编号")
    private String applicationNo;

    @ApiModelProperty("应用名称")
    private String applicationName;

    @ApiModelProperty("应用类型")
    private Integer applicationType = PlApplicationEnum.COMMON.getCode();

    @ApiModelProperty("应用状态")
    private Integer applicationStatus = PlApplicationEnum.ENABLED.getCode();

    @ApiModelProperty("应用描述")
    private String applicationDesc;

    @ApiModelProperty("备注")
    private String remark;


    public Long getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    public String getApplicationNo() {
        return applicationNo;
    }

    public void setApplicationNo(String applicationNo) {
        this.applicationNo = applicationNo;
    }

    public String getApplicationName() {
        return applicationName;
    }

    public void setApplicationName(String applicationName) {
        this.applicationName = applicationName;
    }

    public Integer getApplicationType() {
        return applicationType;
    }

    public void setApplicationType(Integer applicationType) {
        this.applicationType = applicationType;
    }

    public Integer getApplicationStatus() {
        return applicationStatus;
    }

    public void setApplicationStatus(Integer applicationStatus) {
        this.applicationStatus = applicationStatus;
    }

    public String getApplicationDesc() {
        return applicationDesc;
    }

    public void setApplicationDesc(String applicationDesc) {
        this.applicationDesc = applicationDesc;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "PlApplication{" +
        "companyId=" + companyId +
        ", applicationNo=" + applicationNo +
        ", applicationName=" + applicationName +
        ", applicationType=" + applicationType +
        ", applicationStatus=" + applicationStatus +
        ", applicationDesc=" + applicationDesc +
        ", remark=" + remark +
        "}";
    }
}
